package com.example.demo4.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author: lin
 * @description:日期信息
 * @time: 2021/7/28 18:22
 */
public class Year_date_all {
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date repDate;         //日期
    private Integer repYear;
    private Integer repMonth;
    private Integer repDay;
    private Integer repWeek;
    private Integer db_status;   //0工作日 1周末 2法定节假日 3.调休工作日
    private Integer isSchema;    //0未排班  1排班

    public Date getRepDate() {
        return repDate;
    }

    public void setRepDate(Date repDate) {
        this.repDate = repDate;
    }

    public Integer getRepYear() {
        return repYear;
    }

    public void setRepYear(Integer repYear) {
        this.repYear = repYear;
    }

    public Integer getRepMonth() {
        return repMonth;
    }

    public void setRepMonth(Integer repMonth) {
        this.repMonth = repMonth;
    }

    public Integer getRepDay() {
        return repDay;
    }

    public void setRepDay(Integer repDay) {
        this.repDay = repDay;
    }

    public Integer getRepWeek() {
        return repWeek;
    }

    public void setRepWeek(Integer repWeek) {
        this.repWeek = repWeek;
    }

    public Integer getDb_status() {
        return db_status;
    }

    public void setDb_status(Integer db_status) {
        this.db_status = db_status;
    }

    public Integer getIsSchema() {
        return isSchema;
    }

    public void setIsSchema(Integer isSchema) {
        this.isSchema = isSchema;
    }

    @Override
    public String toString() {
        return "year_date_all{" +
                "repDate=" + repDate +
                ", repYear=" + repYear +
                ", repMonth=" + repMonth +
                ", repDay=" + repDay +
                ", repWeek=" + repWeek +
                ", db_status=" + db_status +
                ", isSchema=" + isSchema +
                '}';
    }
}
